<?php


namespace app\api\model;


class ProductImage extends BaseModel
{
    protected $hidden = ['id','delete_time', 'update_time', 'product_id','img_id'];

    public function imgUrl(){
        return $this->belongsTo('Image','img_id','id');
    }
}